<extend name="Public/base"/>
<!-- 子导航 -->
<block name="sidebar">
    <include file="sidemenu" />
</block>
<block name="body">
    <div class="main-title">
        <h2>
            已完成订单
        </h2>
    </div>
    <!-- 数据表格 -->
    <div class="data-table">
        <table class="">
            <thead>
            <tr>
                <th class="">编号</th>
                <th class="">用户姓名</th>
                <th class="">用户电话</th>
                <th class="">订单类型</th>
                <th class="">操作</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="vo">
                <tr>
                    <td>{$vo['id']}</td>
                    <td><span>{$vo['username']}</span></td>
                    <td><span>{$vo['phone']} </span></td>
                    <td><span>{$vo['book']}</span></td>
                    <td><a href="{:U('Order/detail?id='.$vo['id'])}">查看</a>
                        <a href="{:U('Order/delete?id='.$vo['id'])}" class="confirm ajax-get">删除</a>
                        <a href="{:U('Order/mark?id='.$vo['id'])}" class="confirm ajax-get">完成</a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
    <!-- 分页 -->
    <div class="page">
        {$page}
    </div>

</block>